import { Component } from "react";
import { observer } from "mobx-react";
import { DeviceDetail_Store_Key } from '@/models/deviceDetail';
import { norInject, INorInjectProps } from "@/models";
// import DeviceOffline, { TipTypeEnum } from '@/components/Modal/DeviceOffline';
import DeviceCapacityModal from '../DeviceModal/DeviceCapacityModal';

interface IProps extends INorInjectProps {

}

@norInject(DeviceDetail_Store_Key)
@observer
class DeviceStatusModal extends Component<IProps> {

  render() {
    const { device } = this.props.deviceDetail || {};
    return (
      <DeviceCapacityModal device={device} />
    );
  }
}

export default DeviceStatusModal;
